Skip to main content

Verify Driver's License for User and Tenant

PATCH /api/v1/users/:userId/tenants/:tenantId/drivers-license/verify

Description

This section contains endpoints related to driver's license verification.Helps to verify a user's driver's license.

Headers:

  • Content-Type: application/json
  • Authorization: Bearer {{bearerToken}}

Request Body: A JSON object containing licenseNumber and dob (date of birth).

URL: /api/v1/users/:userId/tenants/:tenantId/drivers-license/verify

  • Query Parameters:

    • userId (Required): User ID
    • tenantId (Required): Tenant ID

Response: The response is "OK" with a code of 200.

/api/v1/users/:userId/tenants/:tenantId/drivers-license/verify

Headers

Content-TypeValue
Content-Typeapplication/json

Body (raw)

{
"licenseNumber": "<string>",
"dob": "<string>"
}

🔑 Authentication bearer

ParamvalueType
tokenbearerTokenstring

Response: 200

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request PATCH \ 
--url /api/v1/users/:userId/tenants/:tenantId/drivers-license/verify \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!